﻿using ComicBook.DataModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ComicBook.Data.IDataAdapters.Interfaces
{
    public interface IComicBookAdapter
    {
        //Comic CRUD
        Comic AddComic(Comic comic);
        List<Comic> GetAllComics();
        Comic GetComic(int id);
        Comic UpdateComic(Comic comic);
        void DeleteComic(int id);
        Author GetAuthorForComic(int id);

        //Author CRUD
        Author AddAuthor(Author author);
        List<Author> GetAllAuthors();
        Author GetAuthor(int id);
        Author UpdateAuthor(Author author);
        void DeleteAuthor(int id);
        List<Comic> GetComicsForAuthor(int id);
        
        //Character CRUD
        Character AddCharacter(Character character);
        List<Character> GetAllCharacters();
        Character GetCharacter(int id);
        Character UpdateCharacter(Character character);
        void DeleteCharacter(int id);
        AuthorComicBook AddAuthorComicBook(AuthorComicBook a);

    }
}
